<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class ListenAccess extends Model
{
    protected $table = 'listen_access';
    protected $guarded = [];
    protected $dates = ['request_time'];

    public function scopeList($query)
    {
        return $query->select(['full_uri', 'is_ajax', 'client_ip', 'request_time', 'user_agent']);
    }

}
